package com.ams.admin.service;

import com.ams.admin.utils.wx.UserDto;
import com.ams.admin.utils.wx.WXAuth;
import com.ams.common.base.result.R;

/**
 * @Author: Like
 * @Date: 2023/5/26 16:17
 * @Description:
 */
public interface UserService {
    /**
     *
     * @param token
     * @param refresh
     * @return
     */
    R userinfo(String token, Boolean refresh);

    R getSessionKeyOropenid(String c);

    R authLogin(WXAuth wxAuth);

    R toLogin(String sessionId);

    R updateUser(String token,UserDto user, String sessionId);

    R findUser(String token, UserDto userDto);
}